package playground.fibu.ejb.dao;

import java.util.List;

import playground.fibu.ejb.entity.Account;

public interface AccountDAO {

	public void save(Account account) throws FibuDAOException;
	public void delete(Account account) throws FibuDAOException;
	public List<Account> findAll() throws FibuDAOException;
	public Account findByPrimaryKey(long id) throws FibuDAOException;
	public Account findByName(String accName) throws FibuDAOException;
}
